<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script type="text/javascript" src="dist/bundle.js"></script>

</head>
<body onload="load()">
<canvas id="foo" width="800" height="800" style="border: 1px solid #000; "></canvas>
</body>
</html>